Skip to main content

Build Tools

This section provides the configuration details for flashing ESP32 firmware using Smowcode's build tools interface.

Build Configuration

The build configuration allows you to select the appropriate settings and flashing addresses for your ESP32 binaries.

  • Baudrate: Select the baud rate for flashing. The default is set to 921600 for faster flashing. If you encounter issues, you can reduce the baud rate.

Flashing Address

This section provides options for configuring flashing addresses, including encryption, boot, partition table, and compiled binary locations.

Use Flash Encryption

  • Checkbox to enable or disable flash encryption for added security.

Use Secure Boot

  • Checkbox to enable or disable secure boot for ensuring bootloader authenticity.

Bootloader

  • The bootloader address is configured at 0x1000.

  • This field defines where the bootloader will be flashed in memory.

    • Default Address: 0x1000
  • Use OTA: Checkbox to indicate if OTA (Over-the-Air) updates should be used during flashing.

  • Flash: Click to begin flashing the bootloader at the specified address.

Partition Table

  • Defines the partition table flash address.

    • Default Address: 0x8000
  • Use OTA: Checkbox to enable OTA flashing for the partition table.

  • Flash: Click to flash the partition table at the specified address.

Compiled Binary

  • The address for the compiled application binary is configured at 0x20000.

    • Default Address: 0x20000

How to Flash

  1. Set the Baudrate to the appropriate value.
  2. Configure the bootloader, partition table, and compiled binary addresses as per your project requirements.
  3. Enable Flash Encryption or Secure Boot if required (Note: if the flash encryption is enabled, you will not be able to flash via the IDE as it could brick your MCU, use this feature with caution).
  4. Click Flash for each section (bootloader, partition table, compiled binary) to start flashing.
  5. Monitor the output for success messages.

Note: Always double-check the flashing addresses to prevent memory conflicts or boot errors.